#@layout()
#define main()
<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" id="edit_form" isLoad="1" loadUrl="#(base)/course/getCourse">
            <input type="hidden" name="id" value="#(id)">
            <div class="layui-form-item">
                <label class="layui-form-label">课程编号</label>
                <div class="layui-input-block">
                    <input type="text" name="Kcid" required="" lay-verType="tips" lay-verify="required" placeholder="请输入课程编号" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">课程名称</label>
                <div class="layui-input-block">
                    <input type="text" name="Kcname" required="" lay-verType="tips" lay-verify="required" placeholder="请输入课程名称" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">讲课学时</label>
                <div class="layui-input-block">
                    <input type="text" name="Periodexpriment" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入讲课学时" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">总学分</label>
                <div class="layui-input-block">
                    <input type="text" name="Creidt" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入总学分" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">课程类型</label>
                <div class="layui-input-block">
                    <select name="Coursetype" lay-verify="required">
                        <option value="">请选择课程类型</option>
                        <option value="1">必修</option>
                        <option value="2">选修</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                 	<textarea name="brief" required=""   lay-verType="tips" lay-verify="required"  placeholder="请输入备注" class="layui-textarea"></textarea>
                </div>
            </div>
            <hr/>
            <div class="layui-form-item" style="text-align: center;">
                <button class="layui-btn" lay-submit="" lay-filter="edit" url="#(base)/course/editCourse"><i class="layui-icon">&#xe642;</i>编辑</button>
                <button type="button" class="layui-btn layui-btn-primary" function="close">关闭</button>
            </div>
        </form>
    </div>
</div>
#end